package com.ruoyi.shop.mapper;

import java.util.List;
import com.ruoyi.shop.domain.DayInventory;

/**
 * 商品日清Mapper接口
 * 
 * @author ruoyi
 * @date 2024-06-08
 */
public interface DayInventoryMapper 
{
    /**
     * 查询商品日清
     * 
     * @param id 商品日清主键
     * @return 商品日清
     */
    public DayInventory selectDayInventoryById(Long id);

    /**
     * 查询商品日清列表
     * 
     * @param dayInventory 商品日清
     * @return 商品日清集合
     */
    public List<DayInventory> selectDayInventoryList(DayInventory dayInventory);

    public List<DayInventory> selectDayInventoryList2(DayInventory dayInventory);

    public List<DayInventory> selectDayInventoryList3(DayInventory dayInventory);

    public List<DayInventory> selectDayInventoryList4(DayInventory dayInventory);

    /**
     * 新增商品日清
     * 
     * @param dayInventory 商品日清
     * @return 结果
     */
    public int insertDayInventory(DayInventory dayInventory);

    /**
     * 修改商品日清
     * 
     * @param dayInventory 商品日清
     * @return 结果
     */
    public int updateDayInventory(DayInventory dayInventory);

    /**
     * 删除商品日清
     * 
     * @param id 商品日清主键
     * @return 结果
     */
    public int deleteDayInventoryById(Long id);

    /**
     * 批量删除商品日清
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDayInventoryByIds(Long[] ids);
}
